Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CSP when in debug mode. #743

Merged
merged 1 commit into from
Aug 16, 2022
Merged

Disable CSP when in debug mode. #743

merged 1 commit into from
Aug 16, 2022

Conversation

dessalines
Copy link
Member

No description provided.

@Nutomic
Copy link
Member

Nutomic commented Aug 5, 2022

Why?

@dessalines
Copy link
Member Author

Eruda needs to run a remote script to work, otherwise just setting LEMMY_UI_DEBUG won't work on its own.

@Nutomic
Copy link
Member

Nutomic commented Aug 5, 2022

Ah but LEMMY_UI_DEBUG wont be set automatically when you just run yarn start, right? In that case its fine, but the name is confusing. I would change it to LEMMY_UI_ERUDE_DEBUG.

@dessalines
Copy link
Member Author

Correct, you still need to set that one env var now. It should pry stay as just LEMMY_UI_DEBUG because I don't know what else I might add besides eruda in the future to help debug.

@Nutomic Nutomic force-pushed the smartert_disable_csp branch from a493a7f to 263c859 Compare August 16, 2022 20:37
@Nutomic Nutomic enabled auto-merge (squash) August 16, 2022 20:37
@Nutomic Nutomic merged commit 920a353 into main Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants